package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class MyTravelItem extends BaseResponse{
    
    private String id;
    private String product_name;
    private String start_date;
    private int flag;
    
    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    id = source.optString("id");
	    product_name = source.optString("product_name");
	    start_date = source.optString("start_date");
	    flag = source.optInt("flag");
	}
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }


}
